// 通用模板配置
export const filedTypeOption = [
  { label: 'compPointer', value: 'compPointer' },
  { label: 'text', value: 'text' },
  { label: 'textarea', value: 'textarea' },
  { label: 'select', value: 'select' },
  { label: 'number', value: 'number' },
  { label: 'check', value: 'check' },
  { label: 'upload', value: 'upload' },
  { label: 'password', value: 'password' },
  { label: 'date', value: 'date' },
  { label: 'time', value: 'time' },
  { label: 'datetime', value: 'datetime' },
  { label: 'dateRange', value: 'dateRange' },
  { label: 'datetimeRange', value: 'datetimeRange' },
  { label: 'timeRange', value: 'timeRange' },
  { label: 'month', value: 'month' },
  { label: 'color', value: 'color' },
  { label: 'array', value: 'array' },
  { label: 'markdown', value: 'markdown' },
  { value: 'cusPurchaseSplit' }, // 订单明细拆分：采购订单、委外订单
  { label: 'cusEquipParamType', value: 'cusEquipParamType' }, // 自定义组件，设备维护参数-参数类型
  { label: 'cusEquipParam', value: 'cusEquipParam' }, // 自定义组件，设备维护参数
  { label: 'cusEquipPatrol', value: 'cusEquipPatrol' }, // 自定义组件，设备点巡检周期
  { label: 'cusMouldPatrol', value: 'cusMouldPatrol' }, // 自定义组件，模具保养周期
  { label: 'cusQualityParam', value: 'cusQualityParam' }, // 自定义组件，质检项参数
  { label: 'cusEquipPick', value: 'cusEquipPick' }, // 自定义组件，设备领料
  { label: 'cusEquipReturn', value: 'cusEquipReturn' }, // 自定义组件，设备退料
  { label: 'cusEquipAddReturn', value: 'cusEquipAddReturn' }, // 自定义组件，设备领料单中下发退料单
  { label: 'cusEquipSpare', value: 'cusEquipSpare' }, // 自定义组件，设备备品备件领料
  { label: 'cusSalaryFormula', value: 'cusSalaryFormula' }, // 自定义组件，薪资-公式配置
  { label: 'cusEquipApply', value: 'cusEquipApply' }, // 自定义组件，设备维修申请
  { label: 'cusKanbanParam', value: 'cusKanbanParam' }, // 自定义组件，看板参数
  { label: 'cusKanbanParams', value: 'cusKanbanParams' }, // 自定义组件，看板参数
  { label: 'cusKanbanCheck', value: 'cusKanbanCheck' }, // 自定义组件，看板盘点
  { label: 'cusMakeBarCodeSelect', value: 'cusMakeBarCodeSelect' }, // 自定义组件，赋码管理 选择绑定目标code
  { label: 'cusInfoDetail', value: 'cusInfoDetail' }, // 自定义组件，设备档案  详情展示已绑定点巡检和保养项
  { label: 'cusEquipInfo', value: 'cusEquipInfo' }, // 自定义组件，设备档案  操作绑定备品备件、点巡检和保养项
  { label: 'cusEquipBetaInfo', value: 'cusEquipBetaInfo' }, // 自定义组件，实验设备档案  操作绑定备品备件、点巡检和保养项
  { label: 'cusMouldInfo', value: 'cusMouldInfo' }, // 自定义组件，模具档案  操作绑定备品备件、保养项
  { label: 'cusJigInfo', value: 'cusJigInfo' }, // 自定义组件，冶具档案  操作绑定备品备件、保养项
  { label: 'cusAssignOrder', value: 'cusAssignOrder' }, // 自定义组件，齐套分析
  { label: 'cusDetailMaterial', value: 'cusDetailMaterial' }, // 自定义组件，查看可领料明细
  { label: 'cusPickMaterial', value: 'cusPickMaterial' }, // 自定义组件，领料
  { label: 'cusMaterialReturn', value: 'cusMaterialReturn' }, // 自定义组件，退料
  { label: 'cusSalePickMaterial', value: 'cusSalePickMaterial' }, // 自定义组件，销售扫码出库、销售补货出库单
  { label: 'cusOutSendMaterial', value: 'cusOutSendMaterial' }, // 自定义组件，委外发料出库单
  { label: 'cusReceiptMaterial', value: 'cusReceiptMaterial' },   // 自定义组件，扫码入库：采购、委外
  { label: 'cusTransferMaterial', value: 'cusTransferMaterial' }, // 自定义组件，扫码：倒库、调拨单、盘点单
  { label: 'cusSplitMaterial', value: 'cusSplitMaterial' }, // 自定义组件，生产领料，拆单
  { label: 'cusReportPreview', value: 'cusReportPreview' }, // 自定义组件，开工前查看文件
  { label: 'cusWorkReprot', value: 'cusWorkReprot' }, // 自定义组件，开工前查看文件
  { label: 'cusPdaScanCode', value: 'cusPdaScanCode' }, // 自定义组件，扫码
  { label: 'cusQualityColumns', value: 'cusQualityColumns' }, // 自定义组件，质检内容
  { label: 'cusWorkQualityColumns', value: 'cusWorkQualityColumns' }, // 自定义组件，待检区质检内容
  { label: 'cusQualityItemInfo', value: 'cusQualityItemInfo' }, // 自定义组件，弹窗选择质检项
  { label: 'cusQualityWorkReprot', value: 'cusQualityWorkReprot' }, // 自定义组件，质检报工
  { label: 'cusReturnQualityReprot', value: 'cusReturnQualityReprot' }, // 自定义组件，退货质检报工
  { label: 'cusEquipPResult', value: 'cusEquipPResult' }, // 自定义组件，设备点巡检报工参数项
  { label: 'cusMouldPResult', value: 'cusMouldPResult' }, // 自定义组件，模具报工参数项
  { label: 'cusEquipBetaPResult', value: 'cusEquipBetaPResult' }, // 自定义组件，实验设备报工参数项
  { label: 'cusJigPResult', value: 'cusJigPResult' }, // 自定义组件，治具报工参数项
  { label: 'cusEquipSpApply', value: 'cusEquipSpApply' }, // 自定义组件，设备报工领料
  { label: 'cusEquipSpUpdate', value: 'cusEquipSpUpdate' }, // 自定义组件，设备领料申请单编辑
  { label: 'cusEquipToBuy', value: 'cusEquipToBuy' }, // 自定义组件，设备领料申请单转采购
  { label: 'cusRepairReprot', value: 'cusRepairReprot' }, // 自定义组件，生产返修扫码报工，弃用
  { label: 'cusRepairWorkReprot', value: 'cusRepairWorkReprot' }, // 自定义组件，生产返修扫码报工
  { label: 'cusRepairReturnReprot', value: 'cusRepairReturnReprot' }, // 自定义组件，退货返修扫码报工
  { label: 'cusScanCodeStore', value: 'cusScanCodeStore' }, // 自定义组件，扫码入库
  { label: 'cusScanCodeStore0417', value: 'cusScanCodeStore0417' }, // 自定义组件，扫码入库
  { label: 'cusScanCodeReturn', value: 'cusScanCodeReturn' }, // 自定义组件，扫码入库
  { label: 'cusMsgWay', value: 'cusMsgWay' }, // 自定义组件，消息通知通知方式
  { label: 'cusMsgCondition', value: 'cusMsgCondition' }, // 自定义组件，消息通知条件配置
  { label: 'cusQualityCheck', value: 'cusQualityCheck' }, // 自定义组件，采购质检扫码退货
  { label: 'cusQualityCheckScan', value: 'cusQualityCheckScan' }, // 自定义组件，采购质检扫码检验
  { label: 'cusReturnCheckScan', value: 'cusReturnCheckScan' }, // 自定义组件，委外退料扫码检验
  { label: 'cusReturnCheckSee', value: 'cusReturnCheckSee' }, // 自定义组件，委外退料绑定看板码
  { label: 'cusReturnCheckSaleSee', value: 'cusReturnCheckSaleSee' }, // 自定义组件，销售退货绑定看板码
  { label: 'cusReturnCheckPrint', value: 'cusReturnCheckPrint' }, // 自定义组件，委外退料绑定看板码
  { label: 'cusReturnSaleCheckScan', value: 'cusReturnSaleCheckScan' }, // 自定义组件，销售退货返修扫码检验
  { label: 'cusReturnColumns', value: 'cusReturnColumns' }, // 自定义组件，委外退料扫码检验
  { label: 'cusSaleCheckScan', value: 'cusSaleCheckScan' }, // 自定义组件，销售出库扫码检验
  { label: 'cusSaleCheckAdd', value: 'cusSaleCheckAdd' }, // 自定义组件，销售出库扫码补货
  { label: 'cusProduceCheck', value: 'cusProduceCheck' }, // 自定义组件，生产初中终
  { label: 'cusProduceReturnCheck', value: 'cusProduceReturnCheck' }, // 自定义组件，生产返修质检
  { label: 'cusAccountPeriod', value: 'cusAccountPeriod' }, // 自定义组件，新增会计期
  { label: 'cusTimeline', value: 'cusTimeline' }, // 自定义组件，月末结转时间轴
  { label: 'cusEquipShowSpare', value: 'cusEquipShowSpare' }, // 自定义组件，设备档案显示备品备件
  { label: 'cusCostAllocation', value: 'cusCostAllocation' }, // 自定义组件，成本分摊
  { label: 'cusEquipScan', value: 'cusEquipScan' }, // 自定义组件，设备点巡检、保养扫设备码
  { label: 'cusPeriodStart', value: 'cusPeriodStart' }, // 自定义组件，期初单录入
  { label: 'cusPeriodStartPrint', value: 'cusPeriodStartPrint' }, // 自定义组件，期初单二维码打印
  { label: 'cusEquipmentInfo', value: 'cusEquipmentInfo' }, // 自定义组件，工单选择设备修改
  { label: 'cusProCheck', value: 'cusProCheck' }, // 自定义组件，待检区质检单
  { label: 'cusProduceQualityCheck', value: 'cusProduceQualityCheck' }, // 自定义组件，待检区生产质检单
  // { label: 'multiSelect', value: 'multiSelect' },
  // { label: 'email', value: 'email' },
  // { label: 'url', value: 'url' },
  // { label: 'tel', value: 'tel' },
  // { label: 'radio', value: 'radio' },
  // { label: 'multiCheck', value: 'multiCheck' },
  // { label: 'switch', value: 'switch' },
  // { label: 'percent', value: 'percent' },
  // { label: 'treeSelect', value: 'treeSelect' },
  // { label: 'link', value: 'link' },
  // { label: 'display', value: 'display' },
]

const fieldTplTypeOption = []

const buttonTpl = function () {
  return [
    { label: 'primary', value: 'primary' },
    { label: 'dashed', value: 'dashed' },
    { label: 'text', value: 'text' },
    { label: 'info', value: 'info' },
    { label: 'success', value: 'success' },
    { label: 'warning', value: 'warning' },
    { label: 'error', value: 'error' },
  ]
}

const tagTpl = () => {
  return [
    {
      name: 'tagColor',
      showField: true,
      defaultValue: 'success',
      valueType: 'select',
      options: [
        { label: 'default', value: 'default' },
        { label: 'primary', value: 'primary' },
        { label: 'success', value: 'success' },
        { label: 'error', value: 'error' },
        { label: 'warning', value: 'warning' },
        { label: 'magenta', value: 'magenta' },
        { label: 'red', value: 'red' },
        { label: 'volcano', value: 'volcano' },
        { label: 'orange', value: 'orange' },
        { label: 'gold', value: 'gold' },
      ],
    },
    {
      name: 'tagCondition',
      valueType: 'text',
      showField: true,
      defaultValue: "code:123",
    }
  ]
}

export const sizeStyleTpl = function() {
  return [
    { showField: false, defaultValue: '', valueType: 'text', name: 'display', },
    { showField: false, defaultValue: '', valueType: 'text', name: 'flex', },
    { showField: true, defaultValue: '100%', valueType: 'text', name: 'width', },
    { showField: false, defaultValue: '100%', valueType: 'text', name: 'minWidth', },
    { showField: false, defaultValue: '100%', valueType: 'text', name: 'maxWidth', },
    { showField: false, defaultValue: '35px', valueType: 'text', name: 'height', },
    { showField: false, defaultValue: '35px', valueType: 'text', name: 'minHeight', },
    { showField: false, defaultValue: '35px', valueType: 'text', name: 'maxHeight', },
    { showField: false, defaultValue: '0', valueType: 'text', name: 'margin', },
    { showField: false, defaultValue: '0', valueType: 'text', name: 'padding', },
  ]
}

export const borderStyleTpl = function () {
  return [
    { showField: false, defaultValue: 'solid', valueType: 'text', name: 'borderStyle', },
    { showField: false, defaultValue: '#000', valueType: 'color', name: 'borderColor', },
    { showField: false, defaultValue: '1px', valueType: 'text', name: 'borderWidth', },
  ]
}

export const fontStyleTpl = function () {
  return [
    { showField: false, defaultValue: '100%', valueType: 'text', name: 'fontSize', },
    {
        showField: false, defaultValue: 'normal', valueType: 'select', name: 'fontWeight', options: [
            { label: 'normal', value: 'normal' },
            { label: 'bold', value: 'bold' },
            { label: 'bolder', value: 'bolder' },
            { label: 'lighter', value: 'lighter' },
        ],
    },
    { showField: false, defaultValue: '#000', valueType: 'color', name: 'color', },
  ]
}

export const ruleTpl = function () {
  return [
    { label: 'string', value: 'string' },
    { label: 'url', value: 'url' },
    { label: 'email', value: 'email' },
    { label: 'tel', value: 'tel' },
    { label: 'code', value: 'code' },
    { label: 'number', value: 'number' },
    { label: 'boolean', value: 'boolean' },
    { label: 'integer', value: 'integer' },
    { label: 'float', value: 'float' },
    { label: 'array', value: 'array' },
    { label: 'date', value: 'date' },
    { label: 'any', value: 'any' },
  ]
}
export const ruleTplOption = ruleTpl()
export const fieldRuleTpl = function () {
  return [
    { name: 'validate', showField: true, defaultValue: 'any', valueType: 'select', options: [], },
    { name: 'validateVerifyUnique', showField: true, defaultValue: false, valueType: 'check'},
    { name: 'validateFormula', showField: true, defaultValue: '', valueType: 'textarea', placeholder: '{{ $.startDate <= $.endDate }}'},
    { name: 'messageEN', showField: true, defaultValue: 'input format error', valueType: 'text' },
    { name: 'messageCN', showField: true, defaultValue: '输入格式错误', valueType: 'text', placeholder: '开始日期不能大于结束日期' },
  ]
}

export const fieldTpl = function () {
  return {
    //#region 自定义
    cusPurchaseSplit: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'cusPurchaseSplit', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'cusPurchaseSplit', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'cusPurchaseSplit', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusEquipParamType: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'cusEquipParamType', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'cusEquipParamType', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'cusEquipParamType', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusEquipParam: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'cusEquipParam', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'cusEquipParam', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'cusEquipParam', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusEquipPatrol: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'cusEquipPatrol', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'cusEquipPatrol', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'cusEquipPatrol', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusMouldPatrol: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'cusMouldPatrol', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'cusMouldPatrol', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'cusMouldPatrol', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusQualityParam: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'cusQualityParam', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'cusQualityParam', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'cusQualityParam', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusEquipPick: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'cusEquipPick', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'cusEquipPick', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'cusEquipPick', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusEquipReturn: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'cusEquipReturn', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'cusEquipReturn', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'cusEquipReturn', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusEquipAddReturn: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'cusEquipAddReturn', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'cusEquipAddReturn', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'cusEquipAddReturn', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusEquipSpare: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'cusEquipSpare', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'cusEquipSpare', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'cusEquipSpare', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusSalaryFormula: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'cusSalaryFormula', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'cusSalaryFormula', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'cusSalaryFormula', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusEquipApply: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'cusEquipApply', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'cusEquipApply', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'cusEquipApply', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusKanbanParam: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusKanbanParam', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusKanbanParam', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusKanbanParam', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusKanbanParams: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusKanbanParams', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusKanbanParams', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusKanbanParams', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusKanbanCheck: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusKanbanCheck', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusKanbanCheck', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusKanbanCheck', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusMakeBarCodeSelect: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusMakeBarCodeSelect', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusMakeBarCodeSelect', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusMakeBarCodeSelect', valueType: 'select', options: fieldTplTypeOption},
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
    ],
    cusInfoDetail: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'cusInfoDetail', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'cusInfoDetail', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'cusInfoDetail', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusEquipInfo: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'cusEquipInfo', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'cusEquipInfo', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'cusEquipInfo', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusEquipBetaInfo: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'cusEquipBetaInfo', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'cusEquipBetaInfo', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'cusEquipBetaInfo', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusMouldInfo: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'cusMouldInfo', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'cusMouldInfo', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'cusMouldInfo', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusJigInfo: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'cusJigInfo', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'cusJigInfo', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'cusJigInfo', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusAssignOrder: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusAssignOrder', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusAssignOrder', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusAssignOrder', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusDetailMaterial: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusDetailMaterial', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusDetailMaterial', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusDetailMaterial', valueType: 'select', options: fieldTplTypeOption},
      { name: 'parentId', showField: true, defaultValue: '', valueType: 'text'},
      { name: 'needKanbancode', showField: true, defaultValue: false, valueType: 'check'},
      { name: 'formName', showField: true, defaultValue: '', valueType: 'text'},
    ],
    cusPickMaterial: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusPickMaterial', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusPickMaterial', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusPickMaterial', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusMaterialReturn: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusMaterialReturn', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusMaterialReturn', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusMaterialReturn', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusSalePickMaterial: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusSalePickMaterial', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusSalePickMaterial', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusSalePickMaterial', valueType: 'select', options: fieldTplTypeOption },
      { name: 'parentId', showField: true, defaultValue: 'root', valueType: 'text' },
      { name: 'needKanbancode', showField: true, defaultValue: false, valueType: 'check'},
    ],
    cusOutSendMaterial: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusOutSendMaterial', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusOutSendMaterial', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusOutSendMaterial', valueType: 'select', options: fieldTplTypeOption },
      { name: 'parentId', showField: true, defaultValue: 'root', valueType: 'text' }
    ],
    cusReceiptMaterial: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusReceiptMaterial', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusReceiptMaterial', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusReceiptMaterial', valueType: 'select', options: fieldTplTypeOption, },
      { name: 'parentId', showField: true, defaultValue: '', valueType: 'text'},
      { name: 'childQuantity', showField: true, defaultValue: 'quantity', valueType: 'text'},
      { name: 'childSubQuantity', showField: true, defaultValue: 'subQuantity', valueType: 'text'},
      { name: 'needScanBin', showField: true, defaultValue: true, valueType: 'check'},
      { name: 'childFields', showField: true, defaultValue: '', valueType: 'textarea', placeholder: '子表的字段列表，demo： f1:字段1,f2:字段2'},
    ],
    cusTransferMaterial: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusTransferMaterial', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusTransferMaterial', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusTransferMaterial', valueType: 'select', options: fieldTplTypeOption, },
      { name: 'className', showField: true, defaultValue: '', valueType: 'text'},
      { name: 'childParentId', showField: true, defaultValue: '', valueType: 'text'},
      { name: 'detailParentId', showField: true, defaultValue: '', valueType: 'text'},
      { name: 'needScanBin', showField: true, defaultValue: true, valueType: 'check'},
      { name: 'childKey', showField: true, defaultValue: '', valueType: 'text', placeholder: '扫货物码后，判断子子表中是否存在的唯一字段名', disabled: true},
      { name: 'childFields', showField: true, defaultValue: '', valueType: 'textarea', placeholder: '子表的字段列表，demo： f1:字段1,f2:字段2'},
      { name: 'binLabel', showField: true, defaultValue: '转入的库位', valueType: 'text'},
      { name: 'codeType', showField: true, defaultValue: 'code', valueType: 'select', clearable: true, placeholder: '扫码支持的来源', options: [
        {label: '看板码', value: 'kanban'},{label: '货物码', value: 'code'},{label: '看板码/货物码', value: 'kanbanOrCode'},
      ]},
      { name: 'eventName1', showField: true, defaultValue: '', valueType: 'select', clearable: true, options: [
        {label: 'actionScan1', value: 'actionScan1'},{label: 'actionScan2', value: 'actionScan2'},
      ]},
      { name: 'eventName2', showField: true, defaultValue: '', valueType: 'select', clearable: true, options: [
        {label: 'actionScan1', value: 'actionScan1'},{label: 'actionScan2', value: 'actionScan2'},
      ]},
    ],
    cusSplitMaterial: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusSplitMaterial', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusSplitMaterial', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusSplitMaterial', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusReportPreview: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusReportPreview', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusReportPreview', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusReportPreview', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusWorkReprot: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusWorkReprot', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusWorkReprot', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusWorkReprot', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusPdaScanCode: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusPdaScanCode', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusPdaScanCode', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusPdaScanCode', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusQualityColumns: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusQualityColumns', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusQualityColumns', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusQualityColumns', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusQualityItemInfo: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusQualityItemInfo', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusQualityItemInfo', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusQualityItemInfo', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusQualityWorkReprot: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusQualityWorkReprot', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusQualityWorkReprot', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusQualityWorkReprot', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusEquipPResult: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusEquipPResult', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusEquipPResult', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusEquipPResult', valueType: 'select', options: fieldTplTypeOption, },
      { 
        name: 'paramCondition', showField: true, valueType: 'textarea',
        defaultValue: "type='logic' && className = 'EquipmentParam' && equipParamCategory = '1'",
        placeholder: "type='logic' && className = 'EquipmentParam' && equipParamCategory = '1'",
      },
    ],
    cusMouldPResult: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusMouldPResult', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusMouldPResult', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusMouldPResult', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusEquipBetaPResult: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusEquipBetaPResult', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusEquipBetaPResult', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusEquipBetaPResult', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusJigPResult: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusJigPResult', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusJigPResult', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusJigPResult', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusEquipSpApply: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusEquipSpApply', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusEquipSpApply', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusEquipSpApply', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusEquipSpUpdate: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusEquipSpUpdate', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusEquipSpUpdate', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusEquipSpUpdate', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusEquipToBuy: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusEquipToBuy', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusEquipToBuy', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusEquipToBuy', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusRepairReprot: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusRepairReprot', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusRepairReprot', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusRepairReprot', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusRepairWorkReprot: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusRepairWorkReprot', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusRepairWorkReprot', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusRepairWorkReprot', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusRepairReturnReprot: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusRepairReturnReprot', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusRepairReturnReprot', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusRepairReturnReprot', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusScanCodeStore: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusScanCodeStore', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusScanCodeStore', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusScanCodeStore', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusScanCodeStore0417: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusScanCodeStore0417', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusScanCodeStore0417', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusScanCodeStore0417', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusScanCodeReturn: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusScanCodeReturn', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusScanCodeReturn', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusScanCodeReturn', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusMsgWay: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusMsgWay', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusMsgWay', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusMsgWay', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusMsgCondition: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusMsgCondition', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusMsgCondition', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusMsgCondition', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusQualityCheck: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusQualityCheck', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusQualityCheck', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusQualityCheck', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusQualityCheckScan: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusQualityCheckScan', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusQualityCheckScan', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusQualityCheckScan', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusReturnCheckScan: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusReturnCheckScan', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusReturnCheckScan', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusReturnCheckScan', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusReturnCheckSee: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusReturnCheckSee', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusReturnCheckSee', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusReturnCheckSee', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusReturnCheckSaleSee: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusReturnCheckSaleSee', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusReturnCheckSaleSee', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusReturnCheckSaleSee', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusReturnCheckPrint: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusReturnCheckPrint', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusReturnCheckPrint', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusReturnCheckPrint', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusReturnSaleCheckScan: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusReturnSaleCheckScan', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusReturnSaleCheckScan', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusReturnSaleCheckScan', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusReturnColumns: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusReturnColumns', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusReturnColumns', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusReturnColumns', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusSaleCheckAdd: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusSaleCheckAdd', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusSaleCheckAdd', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusSaleCheckAdd', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusProduceCheck: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusProduceCheck', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusProduceCheck', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusProduceCheck', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusProduceReturnCheck: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusProduceReturnCheck', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusProduceReturnCheck', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusProduceReturnCheck', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusSaleCheckScan: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusSaleCheckScan', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusSaleCheckScan', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusSaleCheckScan', valueType: 'select', options: fieldTplTypeOption, },
    ],
    cusAccountPeriod: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusAccountPeriod', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusAccountPeriod', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusAccountPeriod', valueType: 'select', options: fieldTplTypeOption, },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
    ],
    cusTimeline: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusTimeline', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusTimeline', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusTimeline', valueType: 'select', options: fieldTplTypeOption, },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
    ],
    cusEquipShowSpare: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusEquipShowSpare', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusEquipShowSpare', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusEquipShowSpare', valueType: 'select', options: fieldTplTypeOption, },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
    ],
    cusCostAllocation: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusCostAllocation', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusCostAllocation', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusCostAllocation', valueType: 'select', options: fieldTplTypeOption, },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
    ],
    cusEquipScan: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusEquipScan', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusEquipScan', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusEquipScan', valueType: 'select', options: fieldTplTypeOption, },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
    ],
    cusPeriodStart: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusPeriodStart', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusPeriodStart', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusPeriodStart', valueType: 'select', options: fieldTplTypeOption, },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
    ],
    cusPeriodStartPrint: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusPeriodStartPrint', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusPeriodStartPrint', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusPeriodStartPrint', valueType: 'select', options: fieldTplTypeOption, },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'qrCodeHeight', showField: true, defaultValue: 230, valueType: 'number' },
    ],
    cusEquipmentInfo: [
      { name: 'show', filterable: true, showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', filterable: true, showField: true, defaultValue: 'cusEquipmentInfo', valueType: 'display'},
      { name: 'label', filterable: true, showField: true, defaultValue: 'cusEquipmentInfo', valueType: 'text' },
      { name: 'type', filterable: true, showField: true, defaultValue: 'cusEquipmentInfo', valueType: 'select', options: fieldTplTypeOption, },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
    ],
    //#endregion
    text: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'text', valueType: 'display', options: [] },
      { name: 'label', showField: true, defaultValue: 'text', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'text', valueType: 'select', options: fieldTplTypeOption, },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'autofocus', showField: true, defaultValue: false, valueType: 'check' },
      // ...tagTpl(),
      // { name: 'autocomplete', showField: true, defaultValue: 'off', valueType: 'select', options: [ { label: 'on', value: 'on' }, { label: 'off', value: 'off' }, ], },
      { name: 'spellcheck', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'maxlength', showField: true, defaultValue: 100, valueType: 'number' },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    textarea: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'textarea', valueType: 'display', options: [] },
      { name: 'label', showField: true, defaultValue: 'textarea', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'textarea', valueType: 'select', options: fieldTplTypeOption, },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'autofocus', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'rows', showField: true, defaultValue: 2, valueType: 'number' },
      { name: 'autosize', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'maxlength', showField: true, defaultValue: 100, valueType: 'number' },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    number: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      {
        name: 'dataIndex',
        showField: true,
        defaultValue: 'number',
        valueType: 'display',
        options: [],
      },
      { name: 'label', showField: true, defaultValue: 'number', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'number',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'min', showField: true, defaultValue: 0, valueType: 'number' },
      { name: 'max', showField: true, defaultValue: 999999999, valueType: 'number' },
      { name: 'step', showField: true, defaultValue: 1, valueType: 'number' },
      { name: 'precision', showField: true, defaultValue: 0, valueType: 'number' },
      { name: 'formula', defaultValue: '', showField: true, valueType: 'textarea', placeholder: '{{ $.quantity  * $.price }}' },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'editable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    password: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      {
        name: 'dataIndex',
        showField: true,
        defaultValue: 'password',
        valueType: 'display',
        options: [],
      },
      { name: 'label', showField: true, defaultValue: 'password', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'password',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'autofocus', showField: true, defaultValue: false, valueType: 'check' },
      // { name: 'autocomplete', showField: true, defaultValue: 'off', valueType: 'select', options: [ { label: 'on', value: 'on' }, { label: 'off', value: 'off' }, ], },
      { name: 'spellcheck', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'maxlength', showField: true, defaultValue: 100, valueType: 'number' },
      { name: 'password', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    url: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'url', valueType: 'display', options: [] },
      { name: 'label', showField: true, defaultValue: 'url', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'url',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'autofocus', showField: true, defaultValue: false, valueType: 'check' },
      // { name: 'autocomplete', showField: true, defaultValue: 'off', valueType: 'select', options: [ { label: 'on', value: 'on' }, { label: 'off', value: 'off' }, ], },
      { name: 'spellcheck', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'maxlength', showField: true, defaultValue: 100, valueType: 'number' },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    email: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      {
        name: 'dataIndex',
        showField: true,
        defaultValue: 'email',
        valueType: 'display',
        options: [],
      },
      { name: 'label', showField: true, defaultValue: 'email', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'email',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'autofocus', showField: true, defaultValue: false, valueType: 'check' },
      // { name: 'autocomplete', showField: true, defaultValue: 'off', valueType: 'select', options: [ { label: 'on', value: 'on' }, { label: 'off', value: 'off' }, ], },
      { name: 'spellcheck', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'maxlength', showField: true, defaultValue: 100, valueType: 'number' },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    tel: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'tel', valueType: 'display', options: [] },
      { name: 'label', showField: true, defaultValue: 'tel', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'tel',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'autofocus', showField: true, defaultValue: false, valueType: 'check' },
      // { name: 'autocomplete', showField: true, defaultValue: 'off', valueType: 'select', options: [ { label: 'on', value: 'on' }, { label: 'off', value: 'off' }, ], },
      { name: 'spellcheck', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'maxlength', showField: true, defaultValue: 100, valueType: 'number' },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    check: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      {
        name: 'dataIndex',
        showField: true,
        defaultValue: 'check',
        valueType: 'display',
        options: [],
      },
      { name: 'label', showField: true, defaultValue: 'check', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'check',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    select: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      {
        name: 'dataIndex',
        showField: true,
        defaultValue: 'select',
        valueType: 'display',
        options: [],
      },
      { name: 'label', showField: true, defaultValue: 'select', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'select',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'multiple', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'filterable', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'filterByLabel', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'labelInValue', showField: true, defaultValue: false, valueType: 'check' },
      {
        name: 'placement',
        showField: true,
        defaultValue: 'bottom-start',
        valueType: 'select',
        options: [
          { label: 'top', value: 'top' },
          { label: 'bottom', value: 'bottom' },
          { label: 'top-start', value: 'top-start' },
          { label: 'bottom-start', value: 'bottom-start' },
          { label: 'top-end', value: 'top-end' },
          { label: 'bottom-end', value: 'bottom-end' },
        ],
      },
      { name: 'options', showField: true, defaultValue: [], valueType: 'array' },
      {
        name: 'optionType', showField: true, defaultValue: '', valueType: 'select',
        options: [
          { label: 'local', value: 'local' },
          { label: 'remote', value: 'remote' },
        ],
      },
      { name: 'optionName', showField: true, defaultValue: '', valueType: 'select' },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    // multiSelect: [
    //   { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
    //   {
    //     name: 'dataIndex',
    //     showField: true,
    //     defaultValue: 'multiSelect',
    //     valueType: 'display',
    //     options: [],
    //   },
    //   { name: 'label', showField: true, defaultValue: 'multiSelect', valueType: 'text' },
    //   {
    //     name: 'type',
    //     showField: true,
    //     defaultValue: 'multiSelect',
    //     valueType: 'select',
    //     options: fieldTplTypeOption,
    //   },
    //   { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
    //   { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
    //   { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
    //   { name: 'filterable', showField: true, defaultValue: false, valueType: 'check' },
    //   { name: 'filterByLabel', showField: true, defaultValue: false, valueType: 'check' },
    //   { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
    //   { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
    //   { name: 'labelInValue', showField: true, defaultValue: false, valueType: 'check' },
    //   {
    //     name: 'placement',
    //     showField: true,
    //     defaultValue: 'bottom-start',
    //     valueType: 'select',
    //     options: [
    //       { label: 'top', value: 'top' },
    //       { label: 'bottom', value: 'bottom' },
    //       { label: 'top-start', value: 'top-start' },
    //       { label: 'bottom-start', value: 'bottom-start' },
    //       { label: 'top-end', value: 'top-end' },
    //       { label: 'bottom-end', value: 'bottom-end' },
    //     ],
    //   },
    //   { name: 'options', showField: true, defaultValue: [], valueType: 'array' },      {
    //     name: 'optionType', showField: true, defaultValue: '', valueType: 'select',
    //     options: [
    //       { label: 'local', value: 'local' },
    //       { label: 'remote', value: 'remote' },
    //     ],
    //   },
    //   { name: 'optionName', showField: true, defaultValue: '', valueType: 'select' },
    //   { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    // ],
    treeSelect: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'treeSelect', valueType: 'display', options: [], },
      { name: 'label', showField: true, defaultValue: 'treeSelect', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'treeSelect', valueType: 'select', options: fieldTplTypeOption, },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'filterable', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'filterByLabel', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'labelInValue', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'cus_model', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'valueMap', showField: true, defaultValue: 'person_name:name', valueType: 'text' },
      { name: 'fieldPrefix', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'displayToFormFields', showField: true, defaultValue: '', valueType: 'text' },
    ],
    compPointer: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'compPointer', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'compPointer', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'compPointer', valueType: 'select', options: fieldTplTypeOption },
      { name: 'modalWidth', showField: false, defaultValue: '', valueType: 'text' },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'cus_componentName', showField: true, defaultValue: '', valueType: 'select', filterable: true, sourceKey: 'componentList' },
      { name: 'condition', showField: true, defaultValue: '', valueType: 'textarea', placeholder: `isApproved:{{1}}, sourceCode:{{curRecord.values.xxx}}` },
      { name: 'hierCondition', showField: true, defaultValue: '', valueType: 'textarea' },
      { name: 'modalTitle', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'valueKey', showField: true, defaultValue: 'name', valueType: 'text' },
      { name: 'displayToFormFields', showField: true, defaultValue: 'person_code:code,person_id:id', valueType: 'textarea' },
      { name: 'multiple', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'multipleKey', showField: true, defaultValue: 'code', valueType: 'text' },
      { name: 'optionType', showField: true, defaultValue: 'remote'},
      { name: 'optionName', showField: true, defaultValue: '', valueType: 'select', clearable: true },
    ],
    upload: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'upload', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'upload', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'upload', valueType: 'select', options: fieldTplTypeOption },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'action', showField: true, defaultValue: '', valueType: 'text' },
      // { name: 'isPictrue', showField: true, defaultValue: true, valueType: 'check'},
      { name: 'displayToFormFields', showField: true, defaultValue: '', valueType: 'textarea', placeholder: 'fileName:title,extendName' },
      { name: 'data', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'name', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'accept', showField: true, defaultValue: '', valueType: 'text', placeholder:  '.jpg,.jpeg,.png,.pdf,.xlsx,.docx' },
      { name: 'format', showField: true, defaultValue: '', valueType: 'text', placeholder: 'jpg,jpeg,png,pdf,xlsx,docx' },
      { name: 'maxSize', showField: true, defaultValue: 10240, valueType: 'number' },
    ],
    radio: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'radio', valueType: 'display', options: [], },
      { name: 'label', showField: true, defaultValue: 'radio', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'radio', valueType: 'select', options: fieldTplTypeOption, },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
    ],
    multiCheck: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      {
        name: 'dataIndex',
        showField: true,
        defaultValue: 'multiCheck',
        valueType: 'display',
        options: [],
      },
      { name: 'label', showField: true, defaultValue: 'multiCheck', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'multiCheck',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'options', showField: true, defaultValue: [], valueType: 'array' },
    ],
    date: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'date', valueType: 'display', options: [] },
      { name: 'label', showField: true, defaultValue: 'date', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'date',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'editable', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'searchNotRange', showField: true, defaultValue: false, valueType: 'check' },
      {
        name: 'placement',
        showField: true,
        defaultValue: 'bottom-start',
        valueType: 'select',
        options: [
          { label: 'top', value: 'top' },
          { label: 'bottom', value: 'bottom' },
          { label: 'top-start', value: 'top-start' },
          { label: 'bottom-start', value: 'bottom-start' },
          { label: 'top-end', value: 'top-end' },
          { label: 'bottom-end', value: 'bottom-end' },
        ],
      },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    time: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'time', valueType: 'display', options: [] },
      { name: 'label', showField: true, defaultValue: 'time', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'time',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'editable', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'format', showField: true, defaultValue: 'HH:mm:ss', valueType: 'text' },
      {
        name: 'placement',
        showField: true,
        defaultValue: 'bottom-start',
        valueType: 'select',
        options: [
          { label: 'top', value: 'top' },
          { label: 'bottom', value: 'bottom' },
          { label: 'top-start', value: 'top-start' },
          { label: 'bottom-start', value: 'bottom-start' },
          { label: 'top-end', value: 'top-end' },
          { label: 'bottom-end', value: 'bottom-end' },
        ],
      },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    datetime: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      {
        name: 'dataIndex',
        showField: true,
        defaultValue: 'datetime',
        valueType: 'display',
        options: [],
      },
      { name: 'label', showField: true, defaultValue: 'datetime', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'datetime',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'editable', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      {
        name: 'placement',
        showField: true,
        defaultValue: 'bottom-start',
        valueType: 'select',
        options: [
          { label: 'top', value: 'top' },
          { label: 'bottom', value: 'bottom' },
          { label: 'top-start', value: 'top-start' },
          { label: 'bottom-start', value: 'bottom-start' },
          { label: 'top-end', value: 'top-end' },
          { label: 'bottom-end', value: 'bottom-end' },
        ],
      },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    datetimeRange: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      {
        name: 'dataIndex',
        showField: true,
        defaultValue: 'datetimeRange',
        valueType: 'display',
        options: [],
      },
      { name: 'label', showField: true, defaultValue: 'datetimeRange', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'datetimeRange',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'editable', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      {
        name: 'placement',
        showField: true,
        defaultValue: 'bottom-start',
        valueType: 'select',
        options: [
          { label: 'top', value: 'top' },
          { label: 'bottom', value: 'bottom' },
          { label: 'top-start', value: 'top-start' },
          { label: 'bottom-start', value: 'bottom-start' },
          { label: 'top-end', value: 'top-end' },
          { label: 'bottom-end', value: 'bottom-end' },
        ],
      },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    dateRange: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      {
        name: 'dataIndex',
        showField: true,
        defaultValue: 'dateRange',
        valueType: 'display',
        options: [],
      },
      { name: 'label', showField: true, defaultValue: 'dateRange', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'dateRange',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'editable', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      {
        name: 'placement',
        showField: true,
        defaultValue: 'bottom-start',
        valueType: 'select',
        options: [
          { label: 'top', value: 'top' },
          { label: 'bottom', value: 'bottom' },
          { label: 'top-start', value: 'top-start' },
          { label: 'bottom-start', value: 'bottom-start' },
          { label: 'top-end', value: 'top-end' },
          { label: 'bottom-end', value: 'bottom-end' },
        ],
      },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    timeRange: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'timeRange', valueType: 'display', options: [], },
      { name: 'label', showField: true, defaultValue: 'timeRange', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'timeRange', valueType: 'select', options: fieldTplTypeOption, },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'editable', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'format', showField: true, defaultValue: '', valueType: 'text' },
      {
        name: 'placement',
        showField: true,
        defaultValue: 'bottom-start',
        valueType: 'select',
        options: [
          { label: 'top', value: 'top' },
          { label: 'bottom', value: 'bottom' },
          { label: 'top-start', value: 'top-start' },
          { label: 'bottom-start', value: 'bottom-start' },
          { label: 'top-end', value: 'top-end' },
          { label: 'bottom-end', value: 'bottom-end' },
        ],
      },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    month: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'month', valueType: 'display', options: [] },
      { name: 'label', showField: true, defaultValue: 'month', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'month',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'editable', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      {
        name: 'placement',
        showField: true,
        defaultValue: 'bottom-start',
        valueType: 'select',
        options: [
          { label: 'top', value: 'top' },
          { label: 'bottom', value: 'bottom' },
          { label: 'top-start', value: 'top-start' },
          { label: 'bottom-start', value: 'bottom-start' },
          { label: 'top-end', value: 'top-end' },
          { label: 'bottom-end', value: 'bottom-end' },
        ],
      },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    color: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      {
        name: 'dataIndex',
        showField: true,
        defaultValue: 'color',
        valueType: 'display',
        options: [],
      },
      { name: 'label', showField: true, defaultValue: 'color', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'color',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'editable', showField: true, defaultValue: false, valueType: 'check' },
      {
        name: 'placement',
        showField: true,
        defaultValue: 'bottom-start',
        valueType: 'select',
        options: [
          { label: 'top', value: 'top' },
          { label: 'bottom', value: 'bottom' },
          { label: 'top-start', value: 'top-start' },
          { label: 'bottom-start', value: 'bottom-start' },
          { label: 'top-end', value: 'top-end' },
          { label: 'bottom-end', value: 'bottom-end' },
        ],
      },
    ],
    switch: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      {
        name: 'dataIndex',
        showField: true,
        defaultValue: 'switch',
        valueType: 'display',
        options: [],
      },
      { name: 'label', showField: true, defaultValue: 'switch', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'switch',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
    ],
    array: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      {
        name: 'dataIndex',
        showField: true,
        defaultValue: 'array',
        valueType: 'display',
        options: [],
      },
      { name: 'label', showField: true, defaultValue: 'array', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'array',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'autofocus', showField: true, defaultValue: false, valueType: 'check' },
      // { name: 'autocomplete', showField: true, defaultValue: 'off', valueType: 'select', options: [ { label: 'on', value: 'on' }, { label: 'off', value: 'off' }, ], },
      { name: 'spellcheck', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'maxlength', showField: true, defaultValue: 100, valueType: 'number' },
    ],
    percent: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      {
        name: 'dataIndex',
        showField: true,
        defaultValue: 'percent',
        valueType: 'display',
        options: [],
      },
      { name: 'label', showField: true, defaultValue: 'percent', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'percent',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'min', showField: true, defaultValue: 0, valueType: 'number' },
      { name: 'max', showField: true, defaultValue: 100, valueType: 'number' },
      { name: 'step', showField: true, defaultValue: 1, valueType: 'number' },
      { name: 'precision', showField: true, defaultValue: 0, valueType: 'number' },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'editable', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    link: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'link', valueType: 'display', options: [] },
      { name: 'label', showField: true, defaultValue: 'link', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'link',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    display: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      {
        name: 'dataIndex',
        showField: true,
        defaultValue: 'display',
        valueType: 'display',
        options: [],
      },
      { name: 'label', showField: true, defaultValue: 'display', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'display',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'required', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'clearable', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'disabled', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'readonly', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'placeholder', showField: true, defaultValue: '', valueType: 'text' },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    markdown: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'link', valueType: 'display', options: [] },
      { name: 'label', showField: true, defaultValue: 'link', valueType: 'text' },
      {
        name: 'type',
        showField: true,
        defaultValue: 'markdown',
        valueType: 'select',
        options: fieldTplTypeOption,
      },
      { name: 'placeholder', showField: true, defaultValue: '开始编辑...', valueType: 'text' },
      { name: 'editable', showField: false, defaultValue: false, valueType: 'check' },
      // 在单栏（subfield=false）时默认展示区域: edit preview
      { name: 'defaultOpen', showField: false, defaultValue: 'preview', valueType: 'select', options: [
        {label: 'edit', value: 'edit'}, {label: 'preview', value: 'preview'},
      ]},
      // true: 双栏(编辑预览同屏), false: 单栏(编辑预览分屏)
      { name: 'subfield', showField: false, defaultValue: false, valueType: 'check' }, // 单双栏模式
      { name: 'preview', showField: false, defaultValue: false, valueType: 'check' }, // 预览
      { name: 'showLeftToolBar', showField: false, defaultValue: false, valueType: 'check' }, // 显示工具栏左侧部分按钮
      { name: 'navigation', showField: false, defaultValue: true, valueType: 'check' }, // 默认展示目录
      { name: 'toolbarsSubfield', showField: false, defaultValue: false, valueType: 'check' }, // 工具栏： 是否显示分栏按钮
      { name: 'fullscreen', showField: false, defaultValue: false, valueType: 'check' }, // 全屏编辑
      { name: 'readmodel', showField: false, defaultValue: false, valueType: 'check' }, // 沉浸式阅读
      { name: 'toolbarsFlag', showField: false, defaultValue: true, valueType: 'check' }, // 工具栏是否显示
      { name: 'toolbarsNavigation', showField: false, defaultValue: true, valueType: 'check' }, // 工具栏： 是否显示目录按钮
      { name: 'help', showField: false, defaultValue: true, valueType: 'check' }, // 工具栏： 是否显示帮助按钮
    ],
    rowNum: [
      { name: 'show', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'rowNum', valueType: 'display' },
      { name: 'sortable', showField: true, defaultValue: true, valueType: 'check' },
    ],
    rowCheck: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'rowCheck', valueType: 'display' },
    ],
    action: [
      { name: 'show', showField: true, defaultValue: true, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'action', valueType: 'display' },
      { name: 'label', showField: true, defaultValue: 'action', valueType: 'text' },
      { name: 'width', showField: true, defaultValue: '136px', valueType: 'text' },
      { name: 'edit', showField: true, defaultValue: 'edit', valueType: 'text' },
      { name: 'detail', showField: true, defaultValue: 'detail', valueType: 'text' },
      { name: 'import', showField: false, defaultValue: 'import', valueType: 'text' },
      { name: 'fixed', showField: true, defaultValue: 'right', valueType: 'display' },
    ],
    additionalAction: [
      { name: 'show', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'additionalAction', valueType: 'display' },
      { name: 'label', showField: true, defaultValue: 'additionalAction', valueType: 'text' },
      { name: 'width', showField: true, defaultValue: 'auto', valueType: 'text' },
      { name: 'action1', showField: true, defaultValue: 'action1', valueType: 'text' },
      { name: 'action1Color', showField: true, defaultValue: 'primary', valueType: 'select', options: buttonTpl() },
      { name: 'action1Disable', defaultValue: '', valueType: 'textarea', placeholder: '{{curRecord.isApproved}}' },
      { name: 'action1Confirm', defaultValue: '是否确认', valueType: 'textarea', placeholder: '是否确认' },
      { name: 'action2', showField: false, defaultValue: 'action2', valueType: 'text' },
      { name: 'action2Color', showField: false, defaultValue: 'primary', valueType: 'select', options: buttonTpl() },
      { name: 'action2Disable', defaultValue: '', valueType: 'textarea', placeholder: '{{curRecord.isApproved}}' },
      { name: 'action2Confirm', defaultValue: '是否确认', valueType: 'textarea', placeholder: '是否确认' },
      { name: 'action3', showField: false, defaultValue: 'action3', valueType: 'text' },
      { name: 'action3Color', showField: false, defaultValue: 'primary', valueType: 'select', options: buttonTpl() },
      { name: 'action3Disable', defaultValue: '', valueType: 'textarea', placeholder: '{{curRecord.isApproved}}' },
      { name: 'action3Confirm', defaultValue: '是否确认', valueType: 'textarea', placeholder: '是否确认' },
      { name: 'action4', showField: false, defaultValue: 'action4', valueType: 'text' },
      { name: 'action4Color', showField: false, defaultValue: 'primary', valueType: 'select', options: buttonTpl() },
      { name: 'action4Disable', defaultValue: '', valueType: 'textarea', placeholder: '{{curRecord.isApproved}}' },
      { name: 'action4Confirm', defaultValue: '是否确认', valueType: 'textarea', placeholder: '是否确认' },
      { name: 'action5', showField: false, defaultValue: 'action5', valueType: 'text' },
      { name: 'action5Color', showField: false, defaultValue: 'primary', valueType: 'select', options: buttonTpl() },
      { name: 'action5Disable', defaultValue: '', valueType: 'textarea', placeholder: '{{curRecord.isApproved}}' },
      { name: 'action5Confirm', defaultValue: '是否确认', valueType: 'textarea', placeholder: '是否确认' },
      { name: 'action6', showField: false, defaultValue: 'action6', valueType: 'text' },
      { name: 'action6Color', showField: false, defaultValue: 'primary', valueType: 'select', options: buttonTpl() },
      { name: 'action6Disable', defaultValue: '', valueType: 'textarea', placeholder: '{{curRecord.isApproved}}' },
      { name: 'action6Confirm', defaultValue: '是否确认', valueType: 'textarea', placeholder: '是否确认' },
      { name: 'action7', showField: false, defaultValue: 'action7', valueType: 'text' },
      { name: 'action7Color', showField: false, defaultValue: 'primary', valueType: 'select', options: buttonTpl() },
      { name: 'action7Disable', defaultValue: '', valueType: 'textarea', placeholder: '{{curRecord.isApproved}}' },
      { name: 'action7Confirm', defaultValue: '是否确认', valueType: 'textarea', placeholder: '是否确认' },
      { name: 'action8', showField: false, defaultValue: 'action8', valueType: 'text' },
      { name: 'action8Color', showField: false, defaultValue: 'primary', valueType: 'select', options: buttonTpl() },
      { name: 'action8Disable', defaultValue: '', valueType: 'textarea', placeholder: '{{curRecord.isApproved}}' },
      { name: 'action8Confirm', defaultValue: '是否确认', valueType: 'textarea', placeholder: '是否确认' },
    ],
    createTime: [
      { name: 'show', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'createTime', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'createTime', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'display' }
    ],
    updateTime: [
      { name: 'show', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: 'updateTime', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'updateTime', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'display' }
    ],
    id: [
      { name: 'show', showField: true, defaultValue: false, valueType: 'check' },
      { name: 'dataIndex', showField: true, defaultValue: '_table_Mainid', valueType: 'display'},
      { name: 'label', showField: true, defaultValue: 'id', valueType: 'text' },
      { name: 'type', showField: true, defaultValue: 'display' }
    ],
  }
}

export const fieldTplNewAdd = function() {
  return [
    { name: 'action6', showField: false, defaultValue: 'action6', valueType: 'text' },
      { name: 'action6Color', showField: false, defaultValue: 'primary', valueType: 'select', options: buttonTpl() },
      { name: 'action6Disable', defaultValue: '', valueType: 'textarea', placeholder: '{{curRecord.isApproved}}' },
      { name: 'action6Confirm', defaultValue: '是否确认', valueType: 'textarea', placeholder: '是否确认' },
      { name: 'action7', showField: false, defaultValue: 'action7', valueType: 'text' },
      { name: 'action7Color', showField: false, defaultValue: 'primary', valueType: 'select', options: buttonTpl() },
      { name: 'action7Disable', defaultValue: '', valueType: 'textarea', placeholder: '{{curRecord.isApproved}}' },
      { name: 'action7Confirm', defaultValue: '是否确认', valueType: 'textarea', placeholder: '是否确认' },
      { name: 'action8', showField: false, defaultValue: 'action8', valueType: 'text' },
      { name: 'action8Color', showField: false, defaultValue: 'primary', valueType: 'select', options: buttonTpl() },
      { name: 'action8Disable', defaultValue: '', valueType: 'textarea', placeholder: '{{curRecord.isApproved}}' },
      { name: 'action8Confirm', defaultValue: '是否确认', valueType: 'textarea', placeholder: '是否确认' },
  ]
}
export const newAddInternational = function() {
  return [
    { type: 'fields', name: 'action6', value: 'action6', 'en-US': 'action6', 'zh-CN': '操作6' },
    { type: 'fields', name: 'action7', value: 'action7', 'en-US': 'action7', 'zh-CN': '操作7' },
    { type: 'fields', name: 'action8', value: 'action8', 'en-US': 'action8', 'zh-CN': '操作8' },
  ]
}
/**
  string: Must be of type string. This is the default type.
  number: Must be of type number.
  boolean: Must be of type boolean.
  method: Must be of type function.
  regexp: Must be an instance of RegExp or a string that does not generate an exception when creating a new RegExp.
  integer: Must be of type number and an integer.
  float: Must be of type number and a floating point number.
  array: Must be an array as determined by Array.isArray.
  object: Must be of type object and not Array.isArray.
  enum: Value must exist in the enum.
  date: Value must be valid as determined by Date
  url: Must be of type url.
  hex: Must be of type hex.
  email: Must be of type email.
  any: Can be any type.
  */